#!/bin/sh

# start to write firmware
mkfs.ext2 /dev/hdb1
mkdir -p /tmp/hdb1
mount /dev/hdb1 /tmp/hdb1
cp -a rootfs/* /tmp/hdb1
umount /dev/hdb1

